package com.cloudlead.commonData.entity;

import com.cloudlead.common.lang.persistence.AbstractIdEntity;

import com.cloudlead.common.persistence.UpdateCheck;

import javax.validation.constraints.Size;
import org.joda.time.DateTime;
import com.cloudlead.common.lang.annotation.Label;
import java.lang.String;
import javax.validation.constraints.NotNull;

/**
 * EBasePageRecord is a Querydsl bean type
 */
@Label("页面记录表")
public class EBasePageRecord extends AbstractIdEntity<String> {

    private static final long serialVersionUID =13151363466843L;    
    @Label("是否是退出页")
    @Size(max=45)
    private String exitPage;

    @Label("删除标记")
    @Size(max=8)
    private String flag;

    @NotNull(groups={UpdateCheck.class})
    @Label("id")
    @Size(max=24)
    private String id;

    @Label("页面进入时间")
    private DateTime inPageTime;

    @Label("入口页面地址")
    @Size(max=45)
    private String inUrl;

    @Label("访客ip")
    @Size(max=45)
    private String ip;

    @Label("outPageTime")
    private DateTime outPageTime;

    @Label("url")
    @Size(max=45)
    private String url;

    public String getExitPage() {
        return exitPage;
    }

    public void setExitPage(String exitPage) {
        this.exitPage = exitPage;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public DateTime getInPageTime() {
        return inPageTime;
    }

    public void setInPageTime(DateTime inPageTime) {
        this.inPageTime = inPageTime;
    }

    public String getInUrl() {
        return inUrl;
    }

    public void setInUrl(String inUrl) {
        this.inUrl = inUrl;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public DateTime getOutPageTime() {
        return outPageTime;
    }

    public void setOutPageTime(DateTime outPageTime) {
        this.outPageTime = outPageTime;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String toString() {
         return String.format("EBasePageRecord { exitPage : %s,flag : %s,id : %s,inPageTime : %s,inUrl : %s,ip : %s,outPageTime : %s,url : %s }",exitPage,flag,id,inPageTime,inUrl,ip,outPageTime,url);
    }

}

